INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

SET(toolbox_SOURCES toolbox.cpp toolboxplugin.cpp )
SET(toolbox_HEADERS toolbox.h toolboxplugin.h)

QT4_WRAP_CPP(toolbox_HEADERS_MOC ${toolbox_HEADERS})

ADD_LIBRARY(TryToolbox SHARED ${toolbox_SOURCES} ${toolbox_HEADERS_MOC} ${toolbox_FORMS_H})

TARGET_LINK_LIBRARIES(TryToolbox ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(TryToolbox ${QT_QTDECLARATIVE_LIBRARIES})
TARGET_LINK_LIBRARIES(TryToolbox TrySandboxCore)
